package R

type CodeResponse struct {
	Code int
	Msg string
}


func OK() (CodeResponse){
	return CodeResponse{Code: Success, Msg: "OK"}
}

func Err() (CodeResponse){
	return CodeResponse{Code: Error, Msg: "error"}
}

func Info (code int, msg string)(CodeResponse){
	return CodeResponse{Code: code, Msg: msg}
}
